/**
  ******************************************************************************
  * @file           : radar_obj.h
  * @author         : wangyingjie
  * @brief          : None
  * @attention      : None
  * @date           : 2025/6/20
  ******************************************************************************
  */

#ifndef RADAR_OBJ_H
#define RADAR_OBJ_H

#include "project_marco.h"

struct RadarData
{
  unsigned id;
  unsigned timestamp;
  std::vector<unsigned char> data;
};

// 数据接收器接口
class IDataReceiver
{
public:
  virtual ~IDataReceiver() = default;
  virtual bool Initialize() = 0;
  virtual void Start() = 0;
  virtual void Stop() = 0;
  virtual void SetDataCallback(std::function<void(const RadarData &)> callback) = 0;
};



#endif //RADAR_OBJ_H
